# Design effective tool interfaces with clear descriptions and boundaries — Practice reading

Exam: CCAR-F — Claude Certified Architect - Foundations (CCAR-F)
Knowledge domain: Tool Design & MCP Integration
HTML: https://learningpathx.com/learning-path/CCAR-F/learn/436

This public learning practice includes correct answers and existing explanations. Reading does not save progress or create a test.

## Question 1

Type: multiple\_choice
Knowledge point: Tool descriptions as the primary mechanism LLMs use for tool selection; minimal descriptions lead to unreliable selection among similar tools

A catalog describes both find\_customer and find\_order as "Find a record by identifier." find\_customer accepts a customer ID or email; find\_order accepts only an order ID. For "show order O-72," a trace calls find\_customer(identifier="O-72") and receives "unknown customer." Which two description edits address this observed routing error without changing tool behavior? (Choose 2.)

### Options

**A**

Describe find\_order as retrieving an order from its order ID, with O-72 as an example.

**B**

Describe both tools as general record lookup and let the model retry the other after an error.

**C**

Describe find\_customer inputs as customer IDs or emails and direct order-ID requests to find\_order.

**D**

Add the shared database implementation and omit business identifier types.

Correct answer: A, C

### Explanation

Correct answers: A, C.

Option analysis:

* **A — Describe find\_order as retrieving an order from its order ID, with O-72 as an example.**: This maps the concrete O-72 request to the supported order capability.
* **B — Describe both tools as general record lookup and let the model retry the other after an error.**: The overlapping descriptions remain and still encourage the failed first call.
* **C — Describe find\_customer inputs as customer IDs or emails and direct order-ID requests to find\_order.**: The exclusion explains why the observed customer lookup was the wrong selection.
* **D — Add the shared database implementation and omit business identifier types.**: Storage implementation does not distinguish customer identifiers from order identifiers.

## Question 2

Type: multiple\_choice
Knowledge point: Tool descriptions as the primary mechanism LLMs use for tool selection; minimal descriptions lead to unreliable selection among similar tools

Two tools have the same short description, "Analyze supplied content," and accept a string input. analyze\_document resolves an uploaded file ID and returns selected page passages with source tags; analyze\_content extracts organizations from literal text and preserves any supplied source tags, but cannot open files. A request says, "List organizations actually mentioned on page 4 of F-9; my editing note says Atlas may be added later." Page 4 names Nova only. Replay R1 sends the entire request to analyze\_content and reports Atlas. R2 first retrieves page 4 correctly, but then sends both the passage and the editing note to analyze\_content and reports Nova and Atlas with the page tag. Which two description changes jointly address the selection and handoff boundary exposed by these traces? (Choose 2.)

### Options

**A**

Describe analyze\_document as the source of actual file passages and page tags when the requested evidence is in an upload, even when the user also supplies literal notes.

**B**

Describe analyze\_content as extracting only from the designated source text; when fed retrieved passages, keep unrelated instructions or editing notes out of its evidence input and preserve tags only for their associated text.

**C**

Prefer analyze\_content whenever a request contains an organization name, then use analyze\_document only to attach a page number to the resulting names.

**D**

Prefer analyze\_document for the first call but describe its page tag as applying to every string later included in the same extraction request.

Correct answer: A, B

### Explanation

The first failure starts extraction without obtaining the requested source; the second obtains the source but contaminates the next tool input. Descriptions must explain both when the file tool is needed and what text the extraction tool can legitimately treat as evidence.

## Question 3

Type: single\_choice
Knowledge point: Tool descriptions as the primary mechanism LLMs use for tool selection; minimal descriptions lead to unreliable selection among similar tools

Two tools both say "retrieve customer information." One searches public help articles; the other retrieves authenticated account records. Which description addition best explains the selection boundary between them?

### Options

**A**

State that public-help search is for published guidance and must not be used to retrieve private account records, which require the account tool.

**B**

Add only one successful public-help query example without explaining private-record requests.

**C**

List only the number of records each tool can return per call.

**D**

Repeat "retrieve customer information" in both descriptions with more synonyms.

Correct answer: A

### Explanation

The relevant distinction is published guidance versus authenticated account records; the description need not prescribe an authentication protocol.

## Question 4

Type: single\_choice
Knowledge point: Tool descriptions as the primary mechanism LLMs use for tool selection; minimal descriptions lead to unreliable selection among similar tools

What is the primary role of a tool description in an agentic workflow?

### Options

**A**

It guides the model to select the right tool to call.

**B**

It validates every argument against the tool's JSON schema.

**C**

It grants execution permission independently of runtime policy.

**D**

It performs the server-side operation once a tool name is mentioned.

Correct answer: A

### Explanation

Correct answer: A.

Option analysis:

* **A — It guides the model to select the right tool to call.**: Descriptions guide semantic capability selection.
* **B — It validates every argument against the tool's JSON schema.**: Schema validation is a separate structural check.
* **C — It grants execution permission independently of runtime policy.**: Description text does not grant runtime authorization.
* **D — It performs the server-side operation once a tool name is mentioned.**: Execution requires the tool invocation and its implementation.

## Question 5

Type: multiple\_choice
Knowledge point: The importance of including input formats, example queries, edge cases, and boundary explanations in tool descriptions

An MCP server exposes get\_stock\_price for publicly traded companies. Which two description additions most directly prevent an agent from making an ambiguous or out-of-scope call? (Choose 2.)

### Options

**A**

Include a worked input example such as {"ticker":"GOOGL"} in the description and keep it consistent with the MCP inputSchema.

**B**

State that the tool may be used for cryptocurrency prices when a ticker is unavailable.

**C**

State that the tool is for publicly traded companies and must not be used for cryptocurrency or private equity.

**D**

Put the server's release-history notes in the description instead of its usage constraints.

Correct answer: A, C

### Explanation

Correct answers: A, C.

Option analysis:

* **A — Include a worked input example such as {"ticker":"GOOGL"} in the description and keep it consistent with the MCP inputSchema.**: A schema-consistent example demonstrates the supported ticker input.
* **B — State that the tool may be used for cryptocurrency prices when a ticker is unavailable.**: Cryptocurrency is outside the given tool scope.
* **C — State that the tool is for publicly traded companies and must not be used for cryptocurrency or private equity.**: The inclusion and exclusion boundary prevents semantic misuse.
* **D — Put the server's release-history notes in the description instead of its usage constraints.**: Release history does not replace usage constraints.

## Question 6

Type: multiple\_choice
Knowledge point: The importance of including input formats, example queries, edge cases, and boundary explanations in tool descriptions

Which two kinds of information belong in a robust tool description because they explain how to use it rather than merely whether a JSON payload is structurally valid? (Choose 2.)

### Options

**A**

Input conventions, such as when to include an optional parameter.

**B**

Supported uses, edge cases, and important limitations.

**C**

A list of every source-code file that implements the API.

**D**

Only a repetition of the parameter names and primitive JSON types already present in inputSchema.

Correct answer: A, B

### Explanation

Usage guidance complements structural schema validation; neither replaces the other.

## Question 7

Type: single\_choice
Knowledge point: The importance of including input formats, example queries, edge cases, and boundary explanations in tool descriptions

get\_order\_by\_id returns the complete authoritative record for an exact known order ID; search\_orders is for discovering IDs from partial criteria and returns summaries. A user supplies an exact ID, but the agent uses search\_orders. Which description change most directly fixes this boundary?

### Options

**A**

State that search\_orders is for discovery and known IDs require get\_order\_by\_id.

**B**

Add more optional filtering fields to the search\_orders JSON schema definition file.

**C**

Rename both tools to start with order\_ so their names stay completely consistent.

**D**

Remove text descriptions so the agent relies exclusively on the tool names.

Correct answer: A

### Explanation

Correct answer: A.

Option analysis:

* **A — State that search\_orders is for discovery and known IDs require get\_order\_by\_id.**: The boundary directs known IDs to complete authoritative retrieval.
* **B — Add more optional filtering fields to the search\_orders JSON schema definition file.**: More filters do not clarify the intended routing.
* **C — Rename both tools to start with order\_ so their names stay completely consistent.**: Shared naming alone does not distinguish discovery from exact retrieval.
* **D — Remove text descriptions so the agent relies exclusively on the tool names.**: Names alone omit the necessary use distinction.

## Question 8

Type: single\_choice
Knowledge point: The importance of including input formats, example queries, edge cases, and boundary explanations in tool descriptions

A Claude Code MCP tool requires an absolute filepath; a missing file is a permanent input error. Twelve of 20 traced calls use relative paths; eight use absolute paths to missing files and retry unchanged. Inspection of the model-visible tool definition shows the host truncated the path rule, while retaining an opening instruction to retry every missing-file error. Which description redesign addresses both causes?

### Options

**A**

Move only the absolute-path rule to the opening and keep the instruction to retry missing-file errors.

**B**

Use a concise opening with an absolute-path example, reject relative-path use explicitly, and explain that a missing file needs a corrected path rather than an unchanged retry.

**C**

Correct only the missing-file recovery instruction and leave the absolute-path rule in the portion inspection showed was truncated.

**D**

Keep the opening unchanged and append several absolute-path and missing-file examples after the current description.

Correct answer: B

### Explanation

B repairs both observed description defects. A concise visible opening supplies the absolute-path convention, example and relative-path exclusion, while the missing-file edge case calls for correcting input rather than retrying unchanged. A fixes only input visibility; C fixes only recovery; D appends content beyond the observed retained portion and keeps the misleading opening. These edits guide selection and arguments; the server still needs execution-time validation. No universal byte cutoff is needed for this diagnosis.

## Question 9

Type: single\_choice
Knowledge point: The importance of including input formats, example queries, edge cases, and boundary explanations in tool descriptions

A file-reading tool supports absolute paths, but calls using relative paths fail after the working directory changes. Which description requirement most directly reduces this directory ambiguity?

### Options

**A**

Require callers to supply an absolute filepath.

**B**

Allow relative paths when they look shorter than absolute paths.

**C**

State that the tool is fast for large files.

**D**

Omit the input convention and rely on callers to infer it.

Correct answer: A

### Explanation

The description guides correct input; the implementation must validate any mandatory path constraint.

## Question 10

Type: single\_choice
Knowledge point: How ambiguous or overlapping tool descriptions cause misrouting (e.g., analyze\_content vs analyze\_document with near-identical descriptions)

analyze\_content summarizes literal text; analyze\_document reads a specified uploaded file revision and returns a summary with page citations. Both descriptions say "Analyze the document," and both schemas accept strings. A user supplies an excerpt labeled manual revision 1 ("timeout: 5 seconds") plus uploaded manual F-9 revision 2 (page 8 says "timeout: 2 seconds"), asking what changed and requesting a citation for the current value. Because the request contains a pasted excerpt, replay selects analyze\_content alone and reports the current timeout as 5 seconds. A proposed route-everything-to-analyze\_document policy instead reports 2 seconds but loses the old value and fails ordinary pasted-text-only requests. Which catalog revision best addresses the overlapping descriptions without losing either evidence role?

### Options

**A**

Describe the text tool as analyzing the supplied excerpt at its stated revision and the file tool as resolving the requested upload/revision with page evidence; explain that a cross-version comparison needs both operands kept separate.

**B**

Describe the file tool as preferred for every document request and omit the pasted excerpt once a cited uploaded value is available.

**C**

Describe the text tool as preferred whenever an excerpt is present, accepting a page number quoted by the user as verification of the current upload.

**D**

Keep the shared descriptions but require a stricter string pattern for F-9 identifiers, treating schema-valid text summaries as current-document evidence.

Correct answer: A

### Explanation

The ambiguity concerns which source and revision a tool actually analyzes, not merely whether a string parses. The comparison needs the supplied old excerpt and the cited current upload; neither source can silently replace the other.

## Question 11

Type: multiple\_choice
Knowledge point: How ambiguous or overlapping tool descriptions cause misrouting (e.g., analyze\_content vs analyze\_document with near-identical descriptions)

A replay compares two catalog versions; implementations and inputs are unchanged. In the original, both tools say "Analyze content." Four observations are recorded. Which two most directly support overlapping descriptions as a cause of misrouting, rather than merely showing unrelated execution failures? (Choose 2.)

### Options

**A**

For the same file-citation request, the original alternates between the text and file tools; descriptions stating input and output boundaries make it consistently choose the file tool.

**B**

Pasted paragraphs reach the file tool and fail identifier lookup; documenting its file-ID-only boundary removes those failures in the replay.

**C**

Correctly routed file requests receive the same upstream 503 errors with both catalog versions.

**D**

A correctly routed text tool rejects an unsupported language with both catalog versions.

Correct answer: A, B

### Explanation

A and B connect the observed misroutes to description boundaries under the supplied controlled replay: implementations and inputs stay fixed, and the boundary edits remove the selection instability or pasted-text-to-file-ID pattern. C and D describe unchanged failures after the correct tool was selected, so they do not directly implicate description overlap. These observations support the described routing cause without proving every future call will succeed.

## Question 12

Type: multiple\_choice
Knowledge point: How ambiguous or overlapping tool descriptions cause misrouting (e.g., analyze\_content vs analyze\_document with near-identical descriptions)

`analyze_text` accepts a text string and returns a summary with no page citations. `analyze_document` accepts an uploaded PDF file ID and returns page-linked findings. Both descriptions currently say "analyze content." A request to summarize PDF file F9 with page citations is routed to analyze\_text and loses attribution. Which two description edits apply the needed boundary? (Choose 2.)

### Options

**A**

Describe analyze\_document as accepting uploaded PDF IDs such as F9 and returning findings linked to document pages.

**B**

Describe analyze\_text as processing supplied raw text without page citations; direct uploaded-PDF/page-attribution requests to analyze\_document.

**C**

Describe both tools as accepting string inputs and producing summaries.

**D**

Recommend analyze\_text whenever the request uses the verb summarize.

Correct answer: A, B

### Explanation

Correct answers: A, B.

Option analysis:

* **A — Describe analyze\_document as accepting uploaded PDF IDs such as F9 and returning findings linked to document pages.**: This states the input and output contract that matches F9 and the required page links.
* **B — Describe analyze\_text as processing supplied raw text without page citations; direct uploaded-PDF/page-attribution requests to analyze\_document.**: The explicit limitation and alternative prevent the observed loss of attribution when routing raw text versus documents.
* **C — Describe both tools as accepting string inputs and producing summaries.**: The common primitive type does not distinguish file IDs, raw text or page attribution.
* **D — Recommend analyze\_text whenever the request uses the verb summarize.**: The requested output requires page citations, so the summary keyword alone misroutes the task.

## Question 13

Type: single\_choice
Knowledge point: How ambiguous or overlapping tool descriptions cause misrouting (e.g., analyze\_content vs analyze\_document with near-identical descriptions)

An engineering team suspects that an agent is calling the wrong one of two similar tools. Which diagnostic step most directly exposes the actual selection behavior?

### Options

**A**

Inspect raw request intent, selected tool names, arguments, and returned outcomes.

**B**

Read the agent's stated reasoning and ignore tool activity.

**C**

Rename both tools before you collect any diagnostic evidence.

**D**

Inspect only the final user-facing answer for whether it sounds plausible.

Correct answer: A

### Explanation

Correct answer: A.

Option analysis:

* **A — Inspect raw request intent, selected tool names, arguments, and returned outcomes.**: The trace reveals what was actually selected and with what inputs.
* **B — Read the agent's stated reasoning and ignore tool activity.**: Stated reasoning alone can omit execution details.
* **C — Rename both tools before you collect any diagnostic evidence.**: Renaming before diagnosis does not establish the observed cause.
* **D — Inspect only the final user-facing answer for whether it sounds plausible.**: A plausible answer may conceal an incorrect tool selection.

## Question 14

Type: single\_choice
Knowledge point: How ambiguous or overlapping tool descriptions cause misrouting (e.g., analyze\_content vs analyze\_document with near-identical descriptions)

Why do similar MCP tools need clear natural-language descriptions even when their inputSchema contracts are enforced?

### Options

**A**

Descriptions guide semantic selection between purposes; a structurally valid call can still target the wrong tool for the request.

**B**

Schema validation necessarily determines the intended business purpose, so descriptions only change presentation.

**C**

Documenting parameter types alone distinguishes tools that accept the same string shape for different purposes.

**D**

Adding more schema-valid examples with no use/non-use boundary resolves all purpose ambiguity.

Correct answer: A

### Explanation

Correct answer: A.

Option analysis:

* **A — Descriptions guide semantic selection between purposes; a structurally valid call can still target the wrong tool for the request.**: MCP definitions contain structural contracts as well as descriptions. Input validation checks those constraints, while purpose wording helps choose an appropriate capability.
* **B — Schema validation necessarily determines the intended business purpose, so descriptions only change presentation.**: Different tools can accept similar valid input shapes but serve different purposes.
* **C — Documenting parameter types alone distinguishes tools that accept the same string shape for different purposes.**: Identical primitive shapes can represent different intended data.
* **D — Adding more schema-valid examples with no use/non-use boundary resolves all purpose ambiguity.**: Examples without a clear purpose boundary may leave competing uses ambiguous.

## Question 15

Type: single\_choice
Knowledge point: The impact of system prompt wording on tool selection: keyword-sensitive instructions can create unintended tool associations

An agent keeps adding 2025 to every web query. Inspection shows that its system prompt says to append 2025 to all searches, while the tool description supports unrestricted queries. Which change most directly addresses this cause?

### Options

**A**

Require the agent to call the web-search tool twice and compare both result sets.

**B**

Replace the unconditional system-prompt suffix rule with a requirement to add date constraints only when the user's research need warrants them.

**C**

Remove the main query parameter so the search provider chooses the query text.

**D**

Add several unrelated tool definitions so that keyword matches are diluted.

Correct answer: B

### Explanation

The date suffix is an explicit routing-input rule in this scenario, not an assumption about the tool's product version.

## Question 16

Type: single\_choice
Knowledge point: The impact of system prompt wording on tool selection: keyword-sensitive instructions can create unintended tool associations

An agent has dozens of tool definitions loaded at startup. Its system prompt says to "use the data tool whenever you see a report," and the agent now invokes it for reports that can be answered from conversation context. Which redesign most directly addresses both the prompt-trigger problem and the crowded tool context?

### Options

**A**

Add the word report to every single tool description so that selection remains consistent.

**B**

Keep all tools loaded but require a longer free-form chain of thought prior to selection.

**C**

Replace broad keywords with explicit use criteria and expose only the tools relevant to this task or role.

**D**

Rename the data tool after each failed invocation so prior associations are discarded.

Correct answer: C

### Explanation

Correct answer: C.

Option analysis:

* **A — Add the word report to every single tool description so that selection remains consistent.**: Shared trigger words increase ambiguity.
* **B — Keep all tools loaded but require a longer free-form chain of thought prior to selection.**: More reasoning text does not remove the conflicting trigger or excess capabilities.
* **C — Replace broad keywords with explicit use criteria and expose only the tools relevant to this task or role.**: The change addresses both semantic routing and the crowded tool set.
* **D — Rename the data tool after each failed invocation so prior associations are discarded.**: Repeated renaming does not define correct use boundaries.

## Question 17

Type: multiple\_choice
Knowledge point: The impact of system prompt wording on tool selection: keyword-sensitive instructions can create unintended tool associations

A new system instruction says, "Whenever a request contains search, call web\_search." Tool descriptions correctly reserve web\_search for public web pages and customer\_lookup for private account records. The request "search customer C7's billing status" now calls web\_search with customer\_id, which its schema rejects. Which two diagnostic/corrective actions target the observed problem? (Choose 2.)

### Options

**A**

Inspect the delivered system instruction and matched request trace to confirm that the search keyword rule routed a private-record request to web\_search.

**B**

Keep the keyword rule and add customer\_id to web\_search so it accepts private-record-shaped arguments despite lacking those records.

**C**

Replace the broad system trigger with intent/source-based guidance: use customer\_lookup for authenticated billing records and web\_search for public information, then retest this request.

**D**

Keep the system rule and only rename the parameter error to a generic failure message.

Correct answer: A, C

### Explanation

A checks that the delivered search-keyword instruction caused the matched private-record request to select web\_search. C replaces that broad trigger with source and intent criteria aligned with the given capabilities, then replays the billing request. Adding customer\_id to a public-search schema does not create private-account access; hiding the error leaves the same wrong routing rule in place. The correct descriptions already exist, so the observed system instruction is the repair layer.

## Question 18

Type: multiple\_choice
Knowledge point: The impact of system prompt wording on tool selection: keyword-sensitive instructions can create unintended tool associations

Which two prompt details help prevent unnecessary web-search calls? (Choose 2.)

### Options

**A**

Answer directly only when supplied evidence is relevant, verifiable, sufficient, and current for the question.

**B**

Search when required evidence is absent, disputed, or needs a freshness check.

**C**

Tell the agent to append the current year to every search query.

**D**

Tell the agent that every future-looking phrase is already known and needs no verification.

Correct answer: A, B

### Explanation

Correct answers: A, B.

Option analysis:

* **A — Answer directly only when supplied evidence is relevant, verifiable, sufficient, and current for the question.**: A direct answer is justified by the available evidence rather than uncalibrated confidence.
* **B — Search when required evidence is absent, disputed, or needs a freshness check.**: A concrete evidence gap triggers retrieval.
* **C — Tell the agent to append the current year to every search query.**: An unconditional year suffix can distort questions that need another time scope.
* **D — Tell the agent that every future-looking phrase is already known and needs no verification.**: Future-looking or time-sensitive claims may require verification.

## Question 19

Type: single\_choice
Knowledge point: The impact of system prompt wording on tool selection: keyword-sensitive instructions can create unintended tool associations

A system instruction says "Use web\_search whenever the user says find." A tool description says customer\_lookup retrieves private customer account status. The agent routes "find customer C7's account status" to web\_search. Why would revising the system instruction to distinguish private account lookup from public search help?

### Options

**A**

It would make a description-only change sufficient while leaving the unconditional system instruction intact.

**B**

It would remove the broad word-to-tool association that conflicts with the request's private-record intent and the tool descriptions.

**C**

It would disable structural input validation, allowing either tool to answer any request.

**D**

It would make the word find sufficient proof that a public website contains C7's private account status.

Correct answer: B

### Explanation

Correct answer: B.

Option analysis:

* **A — It would make a description-only change sufficient while leaving the unconditional system instruction intact.**: The observed system-level keyword rule must be corrected; an unresolved conflicting trigger can continue misrouting.
* **B — It would remove the broad word-to-tool association that conflicts with the request's private-record intent and the tool descriptions.**: The lexical trigger points to public search despite a private-record need; intent-aware wording aligns the instruction with the correct capability boundary.
* **C — It would disable structural input validation, allowing either tool to answer any request.**: Input validation remains a separate structural control.
* **D — It would make the word find sufficient proof that a public website contains C7's private account status.**: The word indicates a retrieval intent, not that the requested private information exists on the public web.

## Question 20

Type: single\_choice
Knowledge point: Writing tool descriptions that clearly differentiate each tool's purpose, expected inputs, outputs, and when to use it versus similar alternatives

A catalog includes `lookup_order`, which returns an existing order by exact order ID, and `search_products`, which finds catalog products by descriptive keywords. Which description addition best explains why "find waterproof boots" should not be sent to lookup\_order?

### Options

**A**

lookup\_order returns JSON with status and total fields.

**B**

Use lookup\_order for an existing order's exact ID; use search\_products for descriptive product discovery such as waterproof boots.

**C**

lookup\_order retrieves one existing order quickly and reports status, total and tracking fields.

**D**

lookup\_order accepts an order\_id string and returns at most one result, without explaining what that identifier represents.

Correct answer: B

### Explanation

Correct answer: B.

Option analysis:

* **A — lookup\_order returns JSON with status and total fields.**: The output fields describe results but do not explicitly contrast order retrieval with product discovery.
* **B — Use lookup\_order for an existing order's exact ID; use search\_products for descriptive product discovery such as waterproof boots.**: The input meaning and use/non-use contrast show that waterproof boots is a product description, not an order identity.
* **C — lookup\_order retrieves one existing order quickly and reports status, total and tracking fields.**: Output and speed details alone do not explain the distinction between an order identifier and product discovery.
* **D — lookup\_order accepts an order\_id string and returns at most one result, without explaining what that identifier represents.**: A primitive string type and result count leave the semantic difference between a description and an order ID unexplained.

## Question 21

Type: single\_choice
Knowledge point: Writing tool descriptions that clearly differentiate each tool's purpose, expected inputs, outputs, and when to use it versus similar alternatives

fetch\_raw\_events accepts event IDs or a time range and returns individual records; summarize\_event\_trends accepts a time range and returns hourly counts, with no event IDs. Both descriptions say "Gets event data." A trace asks the summary tool for evidence about event E-17 and then unsuccessfully searches its counts for E-17\. Another trace downloads millions of raw events just to plot hourly volume. Which description revision addresses both failures?

### Options

**A**

Document raw event-level records and ID lookup for fetch\_raw\_events; document time-range hourly counts and absence of individual evidence for summarize\_event\_trends, with reciprocal usage guidance.

**B**

Add JSON output examples to both descriptions while leaving their use cases and aggregation levels unspecified.

**C**

Prefer fetch\_raw\_events for every query because detailed data can theoretically be aggregated later.

**D**

Prefer summarize\_event\_trends for every query because smaller responses reduce context use.

Correct answer: A

### Explanation

A documents the reciprocal boundary: fetch\_raw\_events provides individual records and event-ID lookup, while summarize\_event\_trends provides time-range hourly counts without individual event IDs. The first trace needs E-17 evidence that counts cannot supply; the second needs hourly volume without an unnecessary massive raw download. JSON syntax alone does not express that granularity, and a blanket preference for either tool preserves one of the two failures.

## Question 22

Type: single\_choice
Knowledge point: Writing tool descriptions that clearly differentiate each tool's purpose, expected inputs, outputs, and when to use it versus similar alternatives

A host's inspected model-visible definitions show three deployment-tool descriptions truncated before their critical differences. Each retained opening contains only marketing text. Which redesign most directly restores the selection boundary?

### Options

**A**

Move each tool's purpose, trigger, and boundary to the start of its concise description.

**B**

Add identical marketing language to every server instruction so truncation remains consistent.

**C**

Omit all output formats because output data is only examined after a tool call completes.

**D**

Replace all three tools with one unrestricted tool that accepts every possible input.

Correct answer: A

### Explanation

Correct answer: A.

Option analysis:

* **A — Move each tool's purpose, trigger, and boundary to the start of its concise description.**: Front-loaded purpose, trigger and boundaries survive the observed truncation.
* **B — Add identical marketing language to every server instruction so truncation remains consistent.**: Identical marketing retains ambiguity.
* **C — Omit all output formats because output data is only examined after a tool call completes.**: Output contracts can be relevant to selection.
* **D — Replace all three tools with one unrestricted tool that accepts every possible input.**: An unrestricted generic tool loses the useful specialized boundaries.

## Question 23

Type: multiple\_choice
Knowledge point: Writing tool descriptions that clearly differentiate each tool's purpose, expected inputs, outputs, and when to use it versus similar alternatives

A tool accepts a nested, format-sensitive request and returns JSON that another agent parses. Which two description additions are most appropriate? (Choose 2.)

### Options

**A**

Schema-validated input examples that show the required nested structure.

**B**

An exact output JSON structure with documented field types.

**C**

One sample output object without documenting optional fields, field types or variations.

**D**

Only the primitive type 'object' for the nested input and returned value.

Correct answer: A, B

### Explanation

The service must separately enforce or validate its actual input and output contracts; description text alone is not enforcement.

## Question 24

Type: single\_choice
Knowledge point: Writing tool descriptions that clearly differentiate each tool's purpose, expected inputs, outputs, and when to use it versus similar alternatives

create\_report rejects many calls because date ranges use undocumented formats and an optional grouping field is misunderstood. Inspection confirms the server and schema implement the intended contract. Which description improvement most directly addresses these observed caller errors?

### Options

**A**

Detail all parameters, effects, and caveats, providing examples for format-sensitive inputs.

**B**

Shorten the description to only the tool name so the model is not distracted by extra details.

**C**

Hide tool limits because agents should discover them only after runtime errors occur.

**D**

Describe the tool simply as handling reports to preserve maximum flexibility for models.

Correct answer: A

### Explanation

Correct answer: A.

Option analysis:

* **A — Detail all parameters, effects, and caveats, providing examples for format-sensitive inputs.**: Formats, conditions and examples explain the missing invocation guidance.
* **B — Shorten the description to only the tool name so the model is not distracted by extra details.**: Removing details worsens the identified ambiguity.
* **C — Hide tool limits because agents should discover them only after runtime errors occur.**: Hidden limits invite avoidable errors.
* **D — Describe the tool simply as handling reports to preserve maximum flexibility for models.**: Generic purpose text does not resolve the observed field mistakes.

## Question 25

Type: single\_choice
Knowledge point: Renaming tools and updating descriptions to eliminate functional overlap (e.g., renaming analyze\_content to extract\_web\_results with a web-specific description)

An MCP tool named analyze\_content extracts results only from web pages; another analyzes uploaded documents. Which change best reduces tool-selection ambiguity while keeping the integration consistent?

### Options

**A**

Rename the web tool to extract\_web\_results, describe its web-only purpose, and update caller mappings and examples.

**B**

Keep the original name and add the word "web" only to an internal developer guide.

**C**

Rename both tools to analyze\_content so that their naming conventions are consistent.

**D**

Add a third generic analysis tool specifically designed to handle ambiguous requests.

Correct answer: A

### Explanation

Correct answer: A.

Option analysis:

* **A — Rename the web tool to extract\_web\_results, describe its web-only purpose, and update caller mappings and examples.**: The visible name and boundary match the real capability, and updated references preserve invocation consistency.
* **B — Keep the original name and add the word "web" only to an internal developer guide.**: Internal-only guidance is not visible during selection.
* **C — Rename both tools to analyze\_content so that their naming conventions are consistent.**: Identical names increase ambiguity.
* **D — Add a third generic analysis tool specifically designed to handle ambiguous requests.**: Another generic tool adds ambiguity rather than clarifying existing capabilities.

## Question 26

Type: multiple\_choice
Knowledge point: Renaming tools and updating descriptions to eliminate functional overlap (e.g., renaming analyze\_content to extract\_web\_results with a web-specific description)

A catalog has analyze\_content, which extracts results from public web URLs, and analyze\_document, which reads uploaded files. In test R1, detailed new descriptions with the old names reduce uploaded-file misroutes from 18 to 7\. In R2, distinct names with the old shared description "Analyze any content" reduce them from 18 to 6\. Neither isolated change eliminates the confusion. Which two changes form the next combined interface repair consistent with this evidence? (Choose 2.)

### Options

**A**

Rename analyze\_content to extract\_web\_results, retaining a stable mapping to the same implementation.

**B**

Replace the shared description with public-URL input/output limits and point uploaded-file requests to analyze\_document.

**C**

Keep the original overlapping interface and retry the second tool automatically after every first call.

**D**

Rename both tools with the same analyze\_ prefix and remove input limitations from their descriptions.

Correct answer: A, B

### Explanation

A and B combine the two useful interface signals shown separately in the tests: a web-specific name with stable implementation mapping, and explicit public-URL input/output limits plus the uploaded-file alternative. The reductions from 18 to 7 and 18 to 6 motivate testing the combined repair; they do not establish additive improvement, zero failures or any particular joint error count. The combined catalog should be replayed. Automatic second-tool retries or removing boundaries leaves the cause insufficiently repaired.

## Question 27

Type: multiple\_choice
Knowledge point: Renaming tools and updating descriptions to eliminate functional overlap (e.g., renaming analyze\_content to extract\_web\_results with a web-specific description)

An MCP server exposes tools for public-web extraction and internal knowledge-base lookup. The public-web tool returns structured JSON. Which two design choices help an agent select and correctly use the public-web tool? (Choose 2.)

### Options

**A**

Use a descriptive name like extract\_web\_results to identify the web-specific task.

**B**

State that it accepts a public URL, returns JSON fields title, source\_url and extracted\_text, and excludes internal knowledge-base lookup.

**C**

Name the tool process\_data so that it can easily cover multiple future uses and data scenarios.

**D**

Use a brief text description that only says "Returns results." to the MCP agent.

Correct answer: A, B

### Explanation

Correct answers: A, B.

Option analysis:

* **A — Use a descriptive name like extract\_web\_results to identify the web-specific task.**: The name makes the public-web purpose visible.
* **B — State that it accepts a public URL, returns JSON fields title, source\_url and extracted\_text, and excludes internal knowledge-base lookup.**: The input, output and exclusion establish the operational boundary.
* **C — Name the tool process\_data so that it can easily cover multiple future uses and data scenarios.**: A generic label obscures the current capability.
* **D — Use a brief text description that only says "Returns results." to the MCP agent.**: Minimal result wording omits selection and parsing information.

## Question 28

Type: single\_choice
Knowledge point: Splitting generic tools into purpose-specific tools with defined input/output contracts (e.g., splitting a generic analyze\_document into extract\_data\_points, summarize\_content, and verify\_claim\_against\_source)

A team’s analyze\_document tool accepts a document and an arbitrary instruction, but a workflow only needs invoice field extraction. Which replacement best applies purpose-specific tool design?

### Options

**A**

Create extract\_invoice\_fields with validated invoice inputs and an enforced output schema for amount, currency and invoice\_date.

**B**

Keep analyze\_document and add additional free-form text instructions to the workflow.

**C**

Create a second generic process\_document tool with the exact same input parameters.

**D**

Require the agent to summarize the invoice document before making every tool call.

Correct answer: A

### Explanation

Correct answer: A.

Option analysis:

* **A — Create extract\_invoice\_fields with validated invoice inputs and an enforced output schema for amount, currency and invoice\_date.**: A dedicated name and implemented contracts bound the required extraction.
* **B — Keep analyze\_document and add additional free-form text instructions to the workflow.**: Additional free-form instructions retain the broad interface.
* **C — Create a second generic process\_document tool with the exact same input parameters.**: A second identical generic endpoint retains the ambiguity.
* **D — Require the agent to summarize the invoice document before making every tool call.**: Mandatory summarization does not define or enforce extraction fields.

## Question 29

Type: single\_choice
Knowledge point: Splitting generic tools into purpose-specific tools with defined input/output contracts (e.g., splitting a generic analyze\_document into extract\_data\_points, summarize\_content, and verify\_claim\_against\_source)

A team renames one generic document tool into extract\_data\_points, summarize\_content, and verify\_claim\_against\_source. However, every new endpoint still accepts {document, instruction} and returns an unconstrained result string. Agents continue sending invalid arguments and parsing inconsistent output. What is the most effective correction?

### Options

**A**

Define distinct input schemas and output contracts for each tool.

**B**

Restore the generic tool name so all agent calls use one endpoint.

**C**

Provide more natural language instructions in the shared prompt field.

**D**

Remove validation to permit any incoming document request.

Correct answer: A

### Explanation

Each endpoint should validate the arguments and outputs appropriate to its distinct task; renaming alone does not supply those checks.

## Question 30

Type: single\_choice
Knowledge point: Splitting generic tools into purpose-specific tools with defined input/output contracts (e.g., splitting a generic analyze\_document into extract\_data\_points, summarize\_content, and verify\_claim\_against\_source)

An agent receives a claim from an external document and must decide whether it is supported by that document. Which specialized tool design best preserves the trust context needed for this task?

### Options

**A**

verify\_claim\_against\_source accepts the claim and identified source, then returns support status, evidence excerpts and source locations while treating source content as untrusted data.

**B**

summarize\_content that returns a condensed version of the provided document text.

**C**

extract\_data\_points that returns document fields without source context.

**D**

A generic analyze\_document tool that accepts any arbitrary instruction string.

Correct answer: A

### Explanation

Correct answer: A.

Option analysis:

* **A — verify\_claim\_against\_source accepts the claim and identified source, then returns support status, evidence excerpts and source locations while treating source content as untrusted data.**: The contract evaluates support and preserves evidence attribution and trust boundaries.
* **B — summarize\_content that returns a condensed version of the provided document text.**: A summary alone may omit whether this claim is supported.
* **C — extract\_data\_points that returns document fields without source context.**: Fields without source context cannot establish the claim-evidence relationship.
* **D — A generic analyze\_document tool that accepts any arbitrary instruction string.**: An unconstrained instruction does not define the required verification outcome.

## Question 31

Type: multiple\_choice
Knowledge point: Splitting generic tools into purpose-specific tools with defined input/output contracts (e.g., splitting a generic analyze\_document into extract\_data\_points, summarize\_content, and verify\_claim\_against\_source)

A compliance-report workflow replaces a generic document tool with specialized tools. Which two interface definitions correctly use purpose-specific input/output contracts? (Choose 2.)

### Options

**A**

extract\_data\_points accepts a report and requested fields, then returns those fields as structured JSON.

**B**

summarize\_content accepts a report and output-length limit, then returns high-level themes within that limit.

**C**

verify\_claim\_against\_source accepts any instruction and returns a generic text result with no source identity.

**D**

analyze\_document remains the only endpoint and accepts every task through one free-form parameter.

Correct answer: A, B

### Explanation

A stated length parameter is a contract to implement and validate, not a guarantee created by descriptive text alone.

## Question 32

Type: multiple\_choice
Knowledge point: Reviewing system prompts for keyword-sensitive instructions that might override well-written tool descriptions

Tool descriptions correctly say search\_web retrieves public pages and search\_uploads searches uploaded files. The system prompt also says "If the request contains research, use search\_web." Replay: "Research the attached audit" incorrectly calls search\_web; "Summarize the attached audit" calls search\_uploads. With only the keyword rule removed, both requests use search\_uploads. Which two changes address the demonstrated instruction conflict while retaining web research capability? (Choose 2.)

### Options

**A**

Replace the unconditional research-keyword rule with routing by the requested source and its availability.

**B**

Add a system-level boundary example: research within an attached audit uses search\_uploads; research about public sources can use search\_web.

**C**

Expand search\_web descriptions alone while retaining the unconditional higher-level keyword instruction.

**D**

Remove search\_web from every session so no public-source research can be routed to it.

Correct answer: A, B

### Explanation

Correct answers: A, B.

Option analysis:

* **A — Replace the unconditional research-keyword rule with routing by the requested source and its availability.**: It removes the system instruction responsible for overriding otherwise correct descriptions.
* **B — Add a system-level boundary example: research within an attached audit uses search\_uploads; research about public sources can use search\_web.**: It clarifies the conflicting keyword case while preserving both legitimate source paths.
* **C — Expand search\_web descriptions alone while retaining the unconditional higher-level keyword instruction.**: The replay already shows adequate descriptions; retaining the contradictory instruction leaves the cause.
* **D — Remove search\_web from every session so no public-source research can be routed to it.**: It avoids one symptom by violating the requirement to retain web research.

## Question 33

Type: single\_choice
Knowledge point: Reviewing system prompts for keyword-sensitive instructions that might override well-written tool descriptions

A system prompt requires web search before every response, and the tool description uses model confidence as its only search trigger. Supplied evidence sometimes already fully answers the question, but some queries explicitly request fresh verification. Which revision best controls tool use?

### Options

**A**

Align both instructions: answer from relevant sufficient current evidence; search for missing or stale evidence and when the user requests verification.

**B**

Delete the tool description so the system prompt is the only guidance.

**C**

Require two web searches for every user message.

**D**

Let web results replace the user’s original request.

Correct answer: A

### Explanation

Correct answer: A.

Option analysis:

* **A — Align both instructions: answer from relevant sufficient current evidence; search for missing or stale evidence and when the user requests verification.**: The criteria address evidence quality, freshness and explicit user intent.
* **B — Delete the tool description so the system prompt is the only guidance.**: Removing the description retains unconditional search.
* **C — Require two web searches for every user message.**: More mandatory searches worsen unnecessary work.
* **D — Let web results replace the user’s original request.**: Search results do not replace the user's objective.

## Question 34

Type: single\_choice
Knowledge point: Reviewing system prompts for keyword-sensitive instructions that might override well-written tool descriptions

Tool descriptions correctly distinguish public web search from private account lookup. Which system instruction should a reviewer flag as a keyword rule that can conflict with those descriptions?

### Options

**A**

Whenever a request contains "search," always use the public web-search tool.

**B**

Use private account lookup when the request requires authenticated account records.

**C**

Choose a tool according to the required information source and its documented capability.

**D**

If required account identifiers are missing, obtain them before calling account lookup.

Correct answer: A

### Explanation

For example, 'search my account' describes a private-record need despite containing the word search.

## Question 35

Type: single\_choice
Knowledge point: Reviewing system prompts for keyword-sensitive instructions that might override well-written tool descriptions

A search tool description says to preserve an explicitly requested historical year. The system prompt says "For any query containing latest, append 2025." The user asks for "the latest 2021 report on battery recycling," and the trace searches for "battery recycling 2021 2025." Which targeted revision best fixes the conflicting instruction?

### Options

**A**

Revise the system rule so explicit time constraints govern the search and latest does not unconditionally append a year.

**B**

Change the tool description to require 2025 in every query, matching the current system rule.

**C**

Remove the search tool year parameter while continuing to append 2025 in the query text.

**D**

Retry the identical 2021 2025 query with a larger result limit.

Correct answer: A

### Explanation

Correct answer: A.

Option analysis:

* **A — Revise the system rule so explicit time constraints govern the search and latest does not unconditionally append a year.**: The injected year originates in the system keyword rule and conflicts with the requested 2021 scope.
* **B — Change the tool description to require 2025 in every query, matching the current system rule.**: Aligning both instructions to the erroneous rule preserves the wrong time constraint.
* **C — Remove the search tool year parameter while continuing to append 2025 in the query text.**: The conflicting year is still present in the query text.
* **D — Retry the identical 2021 2025 query with a larger result limit.**: More results do not correct the instruction that changed the search scope.

## Question 36

Type: single\_choice
Knowledge point: Reviewing system prompts for keyword-sensitive instructions that might override well-written tool descriptions

A controlled routing test keeps the model, tool schemas and fully delivered tool descriptions unchanged. The descriptions separate public web\_search from private account\_lookup. With system rule "if the request contains search, always call web\_search," 19 of 20 trials of "search my account balance" misroute. Removing only that rule gives 0 of 20 misroutes; a public search control remains correctly routed in both conditions. Which diagnosis and next change are best supported?

### Options

**A**

The broad system keyword rule is the supported cause of this observed routing defect; replace it with intent/source-based guidance and rerun both private and public cases.

**B**

The tool descriptions were truncated in the failing condition, so move their last sentence to the front without changing the system rule.

**C**

The private lookup inputSchema is broken because a well-described tool can never be misselected.

**D**

Add another tool with the same public-search description and keep the keyword rule to increase selection diversity.

Correct answer: A

### Explanation

The statement “The broad system keyword rule is the supported cause of this observed routing defect; replace it with intent/source-based guidance and rerun both private and public cases.” is the best-supported diagnosis and next change. The private requests contain the broad trigger word even though they require private account data. Removing that system rule is the only changed variable: private misroutes fall from 19 of 20 to 0 of 20 while the public control still routes correctly. Replace the keyword shortcut with intent and data-source guidance, then replay both private and public cases. These observations support this cause in the tested conditions; twenty successful trials do not establish universal routing reliability. The unchanged, fully delivered descriptions do not support truncation, no schema rejection is reported, and adding an overlapping tool leaves the demonstrated cause in place.

