3gpp-mcp-charging
Version:
3GPP MCP Server V3.0.0 - Direct access to TSpec-LLM dataset (arxiv.org/abs/2406.01768) and 3GPP specifications via external APIs
173 lines • 4.66 kB
TypeScript
export interface UserQuery {
text: string;
userLevel?: ExpertiseLevel;
context?: string;
domain?: string;
}
export type ExpertiseLevel = 'beginner' | 'intermediate' | 'expert';
export interface QueryAnalysis {
intent: QueryIntent;
domain: string;
concepts: string[];
complexity: number;
userLevel: ExpertiseLevel;
}
export type QueryIntent = 'discovery' | 'learning' | 'comparison' | 'implementation' | 'troubleshooting' | 'evolution';
export interface GuidanceResponse {
type: 'guidance';
summary: string;
sections: GuidanceSection[];
nextSteps?: string[];
relatedTopics?: string[];
confidence: number;
}
export interface GuidanceSection {
title: string;
content: string;
type: SectionType;
}
export type SectionType = 'overview' | 'specifications' | 'strategy' | 'keywords' | 'implementation' | 'tips' | 'examples';
export interface SpecificationSuggestion {
id: string;
title: string;
relevance: number;
reason: string;
priority: 'primary' | 'secondary' | 'reference';
sections?: string[];
}
export interface SearchStrategy {
approach: string;
steps: ResearchStep[];
keywords: string[];
sources: string[];
timeline: string;
}
export interface ResearchStep {
step: number;
description: string;
action: string;
expectedOutcome: string;
timeEstimate: string;
}
export interface SpecificationMetadata {
id: string;
title: string;
series: string;
release: string;
workingGroup: string;
purpose: string;
keyTopics: string[];
dependencies: string[];
relatedSpecs: string[];
searchKeywords: string[];
commonQuestions: string[];
implementationNotes: string[];
evolutionNotes?: string;
}
export interface ProtocolMetadata {
name: string;
fullName: string;
layer: string;
purpose: string;
definingSpecs: string[];
relatedProtocols: string[];
procedures: ProcedureMetadata[];
commonUseCases: string[];
troubleshootingAreas: string[];
}
export interface ProcedureMetadata {
name: string;
description: string;
triggerConditions: string[];
keySteps: string[];
relatedProcedures: string[];
commonIssues: string[];
debuggingTips: string[];
}
export interface ConceptMetadata {
name: string;
fullName: string;
category: string;
description: string;
purpose: string;
relatedConcepts: string[];
specifications: string[];
evolutionFrom?: string;
usageContext: string[];
}
export interface ResearchPattern {
name: string;
description: string;
applicableFor: string[];
steps: PatternStep[];
expectedOutputs: string[];
commonPitfalls: string[];
timeEstimate: string;
}
export interface PatternStep {
phase: string;
tasks: string[];
deliverables: string[];
tips: string[];
}
export interface KnowledgeGraph {
specifications: Map<string, SpecificationMetadata>;
protocols: Map<string, ProtocolMetadata>;
concepts: Map<string, ConceptMetadata>;
patterns: Map<string, ResearchPattern>;
relationships: Map<string, Relationship[]>;
}
export interface Relationship {
type: RelationshipType;
target: string;
strength: number;
description?: string;
}
export type RelationshipType = 'defines' | 'uses' | 'extends' | 'replaces' | 'references' | 'implements' | 'depends_on';
export interface GuidanceTemplate {
name: string;
description: string;
applicableIntents: QueryIntent[];
template: string;
requiredData: string[];
outputFormat: 'markdown' | 'plain' | 'structured';
}
export interface SearchPattern {
domain: string;
keywords: string[];
series: string[];
startingSpecs: string[];
readingOrder: string[];
commonMistakes: string[];
tips: string[];
}
export interface ImplementationGuidance {
topic: string;
overview: string;
prerequisites: string[];
specifications: string[];
phases: ImplementationPhase[];
testingStrategy: string[];
commonIssues: string[];
resources: string[];
}
export interface ImplementationPhase {
name: string;
description: string;
deliverables: string[];
specifications: string[];
duration: string;
dependencies: string[];
}
export interface UserContext {
level: ExpertiseLevel;
domain?: string;
previousQueries?: string[];
preferences?: {
detailLevel: 'concise' | 'detailed' | 'comprehensive';
format: 'conversational' | 'structured' | 'checklist';
examples: boolean;
nextSteps: boolean;
};
}
//# sourceMappingURL=guidance.d.ts.map